<?php 
	if( isset($departmentList) && count($departmentList) > 0 ){
		echo "<ul class=\"departmentlist\">";
		foreach($departmentList as $departmentid=>$departmentname ){
			echo "<li>·<a href=\"javascript:;\" data-departmentid=\"".$departmentid."\" title=\"".$departmentname."\">".limit($departmentname,12)."</a></li>";
		}
		echo "</ul>";
	}else{
		echo "<div class=\"noschool\">暂时没有此学校的院系列表</div>";
	}
?>